import axios from '@/utils/axios'

// 查询房间标签
export const queryRoomLabelAPI = () => {
  return axios.post('/api/dor/dor-client/cms/roomLabel/queryRoomLabelList')
}

// 新增房间标签
export const addRoomLabelAPI = (data) => {
  return axios.post('/api/dor/dor-client/cms/roomLabel/addRoomLabel', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  })
}

// 编辑房间标签
export const updateRoomLabelAPI = (data) => {
  return axios.post('/api/dor/dor-client/cms/roomLabel/updateRoomLabel', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  })
}

// 删除房间标签
export const deleteRoomLabelAPI = (id) => {
  return axios.post(`/api/dor/dor-client/cms/roomLabel/deleteRoomLabel?id=${id}`, {}, {
    headers: {
      'Content-Type': 'application/json'
    }
  })
}


